function notes = stft_all(signal, fs, frame_length, frame_shift, notes)

for i=1:length(notes)
  [notes(i).t, notes(i).f, notes(i).stft_amp, notes(i).stft_phs, notes(i).pitch, notes(i).n_harm] = stft(signal(notes(i).onset:notes(i).offset), fs, frame_length, frame_shift);
end
